.Dd Jul 17, 2017
.Dt AU2FILE 1
.Os
.Sh NAME
.Nm au2file
.Nd encode an Au formatted stream as an audio file
.Sh SYNOPSIS
.Nm au2file
.Op Fl B Ar bitrate
.Op Fl b Ar buffer-size
.Op Fl m Ar mode
.Op Fl q Ar quality
.Sh DESCRIPTION
.Nm
reads an Au formatted audio stream, converting to the
.Sy file
format.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl B Ar bitrate
Set the mode for streaming output formats.
.It Fl b Ar buffer-size
Override the default buffer size.
.It Fl m Ar mode
Set the mode for some output formats.
.It Fl q Ar quality
Set the quality for lossy output formats.
.El
.Sh EXAMPLES
Record audio, and encoding as a
.Sy file :
.Pp
.Dl dev2au | au2file > file
.Pp
Convert from high to low quality lossy compression:
.Pp
.Dl file2au < high | au2file -q0.1 > low
.Sh EXIT STATUS
.Ex -std
.Sh SEE ALSO
.Xr au 7
.Xr file2au 1
.Xr audev 1
.Xr flac 1
.Xr oggdec 1
.Xr oggenc 1
